package com.cy.ppj.model.dto.wechat;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @description: 模版发送
 * @author: Ocean
 * @create: 2018-08-05 11:45
 **/
@Data
public class WechatTemplateDTO {

    @JsonIgnore
    private String accessToken;

    @JsonProperty("touser")
    private String opneId;

    @JsonProperty("template_id")
    private String templateId;

    private String url;

    private Map<String, WecahtTemplateDataDTO> data = new HashMap<>();
}
